var name='忘',age=17;
var obj = {
    name:"里面",
    getAge: global&&global.age||this.age,
    myFn:function(){
        console.log('myFn:',this.name,this.age)
    }
}
console.log(obj.name)
console.log(obj.getAge)
console.log(obj.myFn())